/*
 * MenuFunction.h
 *
 *  Created on: Sep 5, 2011
 *      Author: walter
 */

#ifndef MENUFUNCTION_H_
#define MENUFUNCTION_H_

#include <string>

using namespace std;

class Admin;

typedef void (Admin::*adminfunction) ();

class Menufunction {
private:
	string	functiondescription;
	adminfunction function;
public:
	Menufunction(string s, adminfunction a){
		functiondescription = s;
		function = a;
	};
	string	getfunctiondescription(){return functiondescription;};
	adminfunction 	getfunction(){return function;};
};

#endif /* MENUFUNCTION_H_ */
